import React, { Component } from 'react';
import './App.css';
import TabBar from './components/tabBar'
import ToTop from './components/toTop'

class App extends Component {
  render() {
    return (
      <div id="App">
        {/* 是this.props.children属性。它表示当前App组件的所有子节点。 */}
        {this.props.children}
        <TabBar/>
        <ToTop/>
      </div>
    );
  }
}

export default App;
